const electron = require("electron")
const { contextBridge, ipcRenderer } = electron;

contextBridge.exposeInMainWorld('electronAPI', {
    shell: {
        openExternal: (url) => {
            ipcRenderer.send("open-external", url)
        }
    }
})